# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=blackarch-config-i3
pkgver=202.01edbd9
pkgrel=1
pkgdesc='BlackArch Linux configuration files for the i3 window manager.'
arch=('any')
groups=('blackarch-config')
url='https://github.com/BlackArch/blackarch-config-i3'
license=('custom:any')
depends=('dmenu' 'rofi' 'terminus-font-ttf' 'i3-gaps' 'i3blocks' 'i3lock'
         'i3status' 'blackarch-config-x11' 'rxvt-unicode')
makedepends=('git')
source=('git+https://github.com/BlackArch/blackarch-config-i3.git')
sha512sums=('SKIP')
options=('!strip')
install="$pkgname.install"

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -dm 755 "$pkgdir/usr/share/blackarch/config/i3"

  cp -at "$pkgdir/usr/share/blackarch/config/i3/" i3status.conf i3/config
}

